package com.originalpoint.origin_server.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Schema(name = "Register" ,description = "注册时查询的用户信息")
public class Register {
    @Schema(name = "username" ,description = "用户名字")
    private String username;

    @Schema(name = "password" ,description = "用户密码")
    private String password;

    @Schema(name = "role" ,description = "用户权限")
    private Integer role;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }
}

